package com.huaguoguo.spring.context;

import com.huaguoguo.spring.beans.factory.BeanFactory;

/**
 * description: 注解容器
 * author:huaguoguo
 * Date:2018/12/6
 * Time:22:50
 */
public interface ApplicationContext extends BeanFactory {


    /**
     * 根据bean的名称和类型获取对应的bean
     * @param clazz
     * @param beanName
     * @param <T>
     * @return
     */
    <T> T getBean(Class<T> clazz,String beanName);
}
